﻿using System;
using Microsoft.Xna.Framework;
using Microsoft.Xna.Framework.Graphics;

namespace BattleCity.Classes
{
    public class MenuItem
    {
        private Texture2D _imageTexture;
        public Texture2D ImageTexture
        {
            get { return _imageTexture; }
            set { _imageTexture = value; }
        }
        private Vector2 _imageVector;
        public Vector2 ImageVector
        {
            get { return _imageVector; }
            set { _imageVector = value; }
        }
        private Color _color;
        public Color Color
        {
            get { return _color; }
            set { _color = value; }
        }
        private Action _action;
        public Action Action
        {
            get { return _action; }
            set { _action = value; }
        }

        public MenuItem(Texture2D texture, Vector2 vector, Color color, Action action)
        {
            _imageTexture = texture;
            _imageVector = vector;
            _color = color;
            _action = action;
        }
    }
}